package com.oocl.service.impl;

import java.util.ArrayList;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.oocl.dao.FoodsDao;
import com.oocl.entity.Foods;
import com.oocl.service.FoodsService;

@Service(value="foodsService")
public class FoodsServiceImpl implements FoodsService {

	@Resource(name="foodsDao")
	private FoodsDao foodsDao;
	@Override
	public List<Foods> loadFoodsByIcnum(String icnum) {
		// TODO Auto-generated method stub
		List<Foods> flist=new ArrayList<Foods>();
		flist=foodsDao.findFoodsByIcnum(icnum);
		return flist;
	}

}
